package com.daimler.itffo.tables;

public class V0BRB172Key implements Comparable<Object> {

	private String SO_LAND;
	private String SO_NR;
	private String SUB_TYP;

	public int compareTo(Object o) {
		V0BRB172Key pkey = (V0BRB172Key) o;
		int result = 0;

		result = pkey.getSO_LAND().compareTo(this.SO_LAND);

		if (result == 0)
			result = pkey.getSO_NR().compareTo(this.SO_NR);

		if (result == 0)
			result = pkey.getSUB_TYP().compareTo(this.SUB_TYP);

		return result;
	}

	public V0BRB172Key(String sO_LAND, String sO_NR, String sUB_TYP) {
		super();
		SO_LAND = sO_LAND;
		SO_NR = sO_NR;
		SUB_TYP = sUB_TYP;
	}

	public String getSO_LAND() {
		return SO_LAND;
	}

	public String getSO_NR() {
		return SO_NR;
	}

	public String getSUB_TYP() {
		return SUB_TYP;
	}
}
